import {
    createSlice
} from '@reduxjs/toolkit'

 const ListReducer=createSlice({
    name:'ListReducer',
    initialState:{
        name:'list'
    },
    reducers:{
        changeName:store=>{
            store.name = 'xsm';
        }
    }
})

export const {changeName}=ListReducer.actions;
export default ListReducer.reducer
